#pragma once
#include "MyDef.h"
class CTexture
{
private:
	LPDIRECT3DTEXTURE9 m_pTex;
public:
	CTexture()
	{
		m_pTex = NULL;
	}

	~CTexture()
	{
		SAFE_RELEASE(m_pTex);
	}
	BOOL Load(string _filename);
	BOOL Load(string _filename, float _Width, float _Height);
	LPDIRECT3DTEXTURE9 GetTexture(){ return m_pTex; }
};